import spock.lang.Specification

/**
 * Created at 2017/10/13 19:27
 * @author gongweixin
 */
class CheckNumberExample extends Specification {
    def "test check number"() {
        expect:
        true == ["1","2","4"].number.every()
        false == ["1", "a"].number.every()
        true == ["01","02","04"].number.every()
    }
}
